<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
	</head>
	<body>
	</body>
</html>
<script>
	var person = new Array("王芳",28,"会记");
	var num=101;
	document.write("函数调用前：<br />");
	document.write("第"+num+"位访客："+person+"<br />");
	external(num,person);
	document.write("函数调用后：<br />");
	document.write("第"+num+"位访客："+person+"<br />");
	function external(n,p){
		n=n+10;
		p[1]=p[1]+10;
		document.write("函数中：<br />");
	document.write("第"+n+"位访客："+p+"<br />");
	}
</script>